/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controller;

import Model.*;
import java.util.Date;
import java.util.LinkedList;

/**
 *
 * @author Hugo
 */
public class SejourController extends AbstractController{
 
    public static final String LISTE_CHAMBRE_PROPERTY = "ListeChambre";
    
    public static final String ADD_CHAMBRE = "Chambre";
    
    public static final String SEJOUR_PROPERTY = "Sejour";
    
    public static final String DTEFIN = "DateFin";
    
    public static final String DTEDEBUT = "DateDebut";
    
    public static final String NOT_ENOUGH_PLACE_EVENT = "Not enough place in Hotel";
    
    public void updateListeChambre(){
        updateProperty(ADD_CHAMBRE);
    }

    public void addChambre(Chambre c) {
        addLineToModelProperty(ADD_CHAMBRE, c);   
    }
    
    public void addSejour(Sejour sejour){
        updateProperty(SEJOUR_PROPERTY);
    }
    
    public void setDteFin(Date dte){
        updateProperty(DTEFIN);
    }
    
    public void setDteDebut(Date dte){
        updateProperty(DTEDEBUT);
    }
    
    public void setListeChambre(LinkedList<Chambre> liste){
        updateProperty(LISTE_CHAMBRE_PROPERTY);
    }
    
    

}
